<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单域</title>
</head>
<body>
    <form action="https://www.baidu.com/">
        姓名: <input type="text" name="name"><br>
        密码: <input type="password" name="password"><br>
        性别: <input type="radio" name="gender" checked="checked" id="male">
            <label for="male">男</label>
            <input type="radio" name="gender" id="female">
            <label for="female">女</label><br>
        爱好: <input type="checkbox" id="sing">
            <label for="sing">唱</label>
            <input type="checkbox" id="jump">
            <label for="jump">跳</label>
            <input type="checkbox" id="rap">
            <label for="rap">rap</label>
            <input type="checkbox" id="basketball">
            <label for="basketball">篮球</label><br>
        按钮: <input type="submit" value="提交" onclick="alert('提交')"><br>
        <input type="reset" value="重置"><br>
        选择文件: <input type="file">
    </form>
</body>
</html>